/**
 * 
 */
package com.ms.game.invitefriend.db;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.xpec.c4.db.model.log.basic.BasicTransactionLogModel;

/**
 * 邀請好友抽佣單筆 log
 * 
 * @author TW15010
 */
@Entity
@Table(name = "invite_friend_com")
public class InviteFriendComLogModel extends BasicTransactionLogModel {
	private static final long serialVersionUID = 2864716662664024257L;

	/** 角色 guid */
	private String guid;

	/** 角色名稱 */
	private String name;

	/** 角色等級 */
	private int lv;

	/** 上線 guid */
	private String upLineGuid;

	/** 上線名稱 */
	private String upLineName;

	/** 抽佣率 */
	private BigDecimal comRate;

	/** 抽佣金額 */
	private BigDecimal comValue;

	public String getGuid() {
		return guid;
	}

	public void setGuid(String guid) {
		this.guid = guid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getLv() {
		return lv;
	}

	public void setLv(int lv) {
		this.lv = lv;
	}

	public String getUpLineGuid() {
		return upLineGuid;
	}

	public void setUpLineGuid(String upLineGuid) {
		this.upLineGuid = upLineGuid;
	}

	@Column(precision = 19, scale = 2, columnDefinition = "DECIMAL(19,2) default 0.0")
	public BigDecimal getComRate() {
		return comRate;
	}

	public void setComRate(BigDecimal comRate) {
		this.comRate = comRate;
	}

	@Column(precision = 19, scale = 2, columnDefinition = "DECIMAL(19,2) default 0.0")
	public BigDecimal getComValue() {
		return comValue;
	}

	public void setComValue(BigDecimal comValue) {
		this.comValue = comValue;
	}

	public String getUpLineName() {
		return upLineName;
	}

	public void setUpLineName(String upLineName) {
		this.upLineName = upLineName;
	}
}
